package cn.cvs.service.sysUser.impl;

import cn.cvs.dao.sysUser.SysRoleMapper;
import cn.cvs.pojo.SysRole;
import cn.cvs.service.sysUser.SysRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class SysRoleServiceImpl implements SysRoleService {

    @Autowired
    private SysRoleMapper sysRoleMapper;

    @Override
    public List<SysRole> getRoleList() {
        return sysRoleMapper.getRoleList();
    }
}
